try{
	Type.registerNamespace('InvCountMakeVO');
	//盘点单
	InvCountMakeVO = function(){};
	InvCountMakeVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	InvCountMakeVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头部分
	//盘点类型
	InvCountMakeVO.CTRANTYPEID={
		name:"ctrantypeid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库类型名称
	InvCountMakeVO.CTRANTYPEID_NAME={
		name:"ctrantypeid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库
	InvCountMakeVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	InvCountMakeVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	InvCountMakeVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//物料
	InvCountMakeVO.CMATERIALVID={
		name:"cmaterialvid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	InvCountMakeVO.MATERIALCODE={
		name:"materialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	InvCountMakeVO.MATERIALNAME={
		name:"materialname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	InvCountMakeVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	InvCountMakeVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	InvCountMakeVO.NSCANNUM={
		name:"nscannum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	InvCountMakeVO.NSCANASTNUM={
		name:"nscanastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	InvCountMakeVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	InvCountMakeVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	InvCountMakeVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	InvCountMakeVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	InvCountMakeVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	InvCountMakeVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	InvCountMakeVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	InvCountMakeVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	InvCountMakeVO.PK_RACK={
		name:"pk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	InvCountMakeVO.PK_RACK_NAME={
		name:"pk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	InvCountMakeVO.prototype.getAllAttrs = function(){
		return [InvCountMakeVO.PK_SCAN,
		InvCountMakeVO.CTRANTYPEID,
		InvCountMakeVO.CTRANTYPEID_NAME,
		InvCountMakeVO.CWAREHOUSEID,
		InvCountMakeVO.CWAREHOUSEID_NAME,
		InvCountMakeVO.PK_ORG,
		InvCountMakeVO.CMATERIALVID,
		InvCountMakeVO.MATERIALCODE,
		InvCountMakeVO.MATERIALNAME,
		InvCountMakeVO.MATERIALSPEC,
		InvCountMakeVO.MATERIALTYPE,
		InvCountMakeVO.NSCANNUM,
		InvCountMakeVO.NSCANASTNUM,
		InvCountMakeVO.VCHANGERATE,
		InvCountMakeVO.CUNITID,
		InvCountMakeVO.CUNITID_NAME,
		InvCountMakeVO.CASTUNITID,
		InvCountMakeVO.CASTUNITID_NAME,
		InvCountMakeVO.VBATCHCODE,
		InvCountMakeVO.PK_BATCHCODE,
		InvCountMakeVO.VSERIALCODE,
		InvCountMakeVO.PK_RACK,
		InvCountMakeVO.PK_RACK_NAME
		
    ]};
    
    InvCountMakeVO.prototype.getTableName = function(){
		return "ic_InvCountMake";
	};
	InvCountMakeVO.prototype.getPrimaryAttr = function(){
		return InvCountMakeVO.PK_SCAN;
	};
	
}catch(e){$e(e);}